package ioJob

import (
	"gitee.com/saxon134/workflow/db/job"
)

type ListRequest struct {
	DemandId  int64  `json:"demandId" form:"demandId"`
	UserId    int64  `json:"userId" form:"userId"`
	ProjectId int64  `json:"projectId" form:"projectId"`
	Keyword   string `json:"keyword" form:"keyword"`
	Status    int    `json:"status" form:"status"`
	OnlyMe    bool   `json:"onlyMe" form:"onlyMe"`
}

type ListItem struct {
	*job.TblJob
}

type DetailResponse struct {
	*job.TblJob
	Disabled struct {
		Title    bool
		Content  bool
		P        map[int]bool
		Status   map[int]bool
		Leader   bool
		Deadline bool
	}
}
